import 'package:flutter/cupertino.dart';

class PaddingTextWidget extends StatelessWidget {
  final EdgeInsets padding;
  final String text;
  final TextStyle style;

  PaddingTextWidget(this.text,
      {this.style, this.padding = const EdgeInsets.all(0.0)});

  @override
  Widget build(BuildContext context) {
    return Padding(
      padding: padding,
      child: Text(text, style: style),
    );
  }
}
